package controllers

import (
	"github.com/astaxie/beego"
)

//Biubiu owf
//fsdfd
type Biubiu struct {
	beego.Controller
}

//Get a
//ojbk
func (ddd *Biubiu) Get() {
	/* 	logs.SetLogger("console")
	   	logs.Info("this %s cat is %v years old", "yellow", 3)
	   	ddd.Data["Name"] = "华哥"
	   	beego.Informational("need provides")
	   	ddd.Data["Email"] = "astaxie@gmail.com"
		   ddd.TplName = "abc.tpl" */
	ddd.Redirect("/cmdb/aa", 301)
}

//LoginRequiredController lr
type LoginRequiredController struct {
	beego.Controller
}

//LoginRequired get
func (lr *LoginRequiredController) LoginRequired() {
	lr.Redirect("/auth/login", 302)
}
